package com.tencent.qf.team.dto.request;

import lombok.Data;

@Data
public class TutorPerformanceByGroupIdRequest {
    /**
     * 按日：2022-10-18
     * 按周：2022年42周(20221016-20221022)
     * 按月：202210
     * 按历史汇总：all
     */
    private String salesDate;
    // 时间范围查询 2022-10-12
    private String salesDateBegin;
    private String salesDateEnd;
    /**
     * 导师类型
     * SELF_PURCHASE_TUTOR：自购省导师
     * SERVICE_TUTOR：服务导师、分销导师
     */
    private String tutorType;
    /**
     * 组织ID first_group_ids、second_group_ids、third_group_ids只能有一个不为空
     */
    private String rootNodeGroupId;
    private String firstGroupId;
    private String secondGroupId;
    private String thirdGroupId;
    //排序字段
    //排序字段
    //sales_order_num=成交单量(默认排序),sales_amt=成交金额,sales_atv=客单价,sales_user_num=成交用户数,sales_income_amt=整体收益,sales_self_income_amt=自购收益,sales_promote_income_amt=推广收益,sales_income_amt_all=总收益(总基础+总加码), overcharge_sales_income_amt=总收益（加码）, promote_income_amt_all=总推广(加码), self_income_amt_all=总自购(加码),base_income_amt=总基础收益
    private String orderField = "sales_order_num";
    //排序方式.desc：降序 asc：升序
    private String orderDirection = "desc";
}
